import java.util.Queue;

/**
 * Created by xiebang
 * Description
 * User:小谢
 * Date:2021-10-26
 * Time:17:44
 */
public class TestDemo {
    public static void main(String[] args) {
        System.out.println(Character.isDigit('-'));

    }
    public static void main1(String[] args) {
        BinarySearchTree binarySearchTree = new BinarySearchTree();
        binarySearchTree.insert(10);
        binarySearchTree.insert(41);
        binarySearchTree.insert(19);
        binarySearchTree.insert(18);
        binarySearchTree.insert(5);

        binarySearchTree.prevOrder(binarySearchTree.root);
        System.out.println();
        binarySearchTree.inOrder(binarySearchTree.root);
        System.out.println();

        binarySearchTree.remove(10);
        binarySearchTree.prevOrder(binarySearchTree.root);
        System.out.println();
        binarySearchTree.inOrder(binarySearchTree.root);
        System.out.println();

    }
}
